Fix link in set password notification

Fixes #2164
This commit is contained in:
Joseph Schorr 2016-11-28 15:25:13 -05:00
parent 9f695bc17f
commit 03cf6d1499

View file

@ -48,7 +48,9 @@ function($rootScope, $interval, UserService, ApiService, StringBuilderService, P
'password_required': {
'level': 'error',
'message': 'In order to begin pushing and pulling repositories, a password must be set for your account',
'page': '/user?tab=password'
'page': function(metadata) {
return '/user/' + UserService.currentUser()['username'] + '?tab=settings';
}
},
'over_private_usage': {
'level': 'error',