Fix - didn't update base.html to show username based on Credentials and not $rootScopt
This commit is contained in:
parent
dc0c21a841
commit
7209eeef5b
@ -140,19 +140,19 @@
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown" ng-show="vm.auth.isAuthenticated"><a href="#" class="dropdown-toggle"
|
||||
<li class="dropdown" ng-show="vm.Credentials.Auth.isAuthenticated"><a href="#" class="dropdown-toggle"
|
||||
data-toggle="dropdown"><i
|
||||
class="glyphicon glyphicon-user"></i> {{vm.auth.Name}} <b class="caret"></b></a>
|
||||
class="glyphicon glyphicon-user"></i> {{vm.Credentials.Auth.Name}} <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/logout">Logout {{vm.auth.Name}}</a></li>
|
||||
<li><a href="/User/{{vm.auth.Name}}">Change Password</a></li>
|
||||
<li><a href="/logout">Logout {{vm.Credentials.Auth.Name}}</a></li>
|
||||
<li><a href="/User/{{vm.Credentials.Auth.Name}}">Change Password</a></li>
|
||||
<li><a href="/Users">Users</a></li>
|
||||
<li><a href="/Groups">Groups</a></li>
|
||||
<li><a href="/Clients">Clients</a></li>
|
||||
<li><a href="/Settings">Settings</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<ul class="nav navbar-nav" ng-hide="vm.auth.isAuthenticated">
|
||||
<ul class="nav navbar-nav" ng-hide="vm.Credentials.Auth.isAuthenticated">
|
||||
<li><a href="/login"><i class="glyphicon glyphicon-user"></i> Log in</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user