Commit 35c0e443 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#179695 by chx: only anonymous users should have permission to visit...

#179695 by chx: only anonymous users should have permission to visit user/login, so this menu item is automatically hidden when a user is logged in
parent e2dc2bdf
......@@ -858,6 +858,7 @@ function user_menu() {
$items['user/login'] = array(
'title' => 'Log in',
'access callback' => 'user_is_anonymous',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment