This commit is contained in:
Jeena Paradies 2012-11-13 14:38:25 +01:00
parent 7508f01a0e
commit 0d9d237fed

View file

@ -52,7 +52,7 @@ function(HostApp, Paths, Hmac) {
var those = this;
Paths.findProfileURL(entity,
function(profile_url) {
if (profile_url && (profile_url.startsWith("http://") || profile_url.startsWith("https:(("))) {
if (profile_url && (profile_url.startsWith("http://") || profile_url.startsWith("https://"))) {
those.register(profile_url);
} else {
HostApp.authentificationDidNotSucceed("Could not find profile for: " + entity);