Skip to content

Commit

Permalink
fix(menu): order logout button last
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed Feb 9, 2023
1 parent a628aef commit 4f09e8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion php-classes/Slate/UI/Adapters/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public static function getLinks($context = null)
if (static::$logOut) {
$userMenu['Log Out'] = [
'_icon' => 'logout',
'_href' => '/logout?return='.urlencode($_SERVER['REQUEST_URI'])
'_href' => '/logout?return='.urlencode($_SERVER['REQUEST_URI']),
'_weight' => 1000
];
}

Expand Down

0 comments on commit 4f09e8f

Please sign in to comment.