Modifies the dialog css class loading and allows for left side modals
This commit is contained in:
@@ -12,6 +12,8 @@ angular.module('umbraco.services')
|
||||
$q.when(authResource.isAuthenticated())
|
||||
.then(function(data) {
|
||||
currentUser = data;
|
||||
currentUser.avatar = 'http://www.gravatar.com/avatar/' + data.emailHash + '?s=40';
|
||||
|
||||
//note, this can return null if they are not authenticated
|
||||
deferred.resolve({ user: data, authenticated: data == null ? false : true });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user