|
|
|
@ -257,15 +257,6 @@ class Auth
@@ -257,15 +257,6 @@ class Auth
|
|
|
|
|
// Detect option type |
|
|
|
|
switch ($id) |
|
|
|
|
{ |
|
|
|
|
case Auth\Option\Identity::ID_LOG_OUT: |
|
|
|
|
|
|
|
|
|
// Logout previous session |
|
|
|
|
$this->page->container->browser->database->auth->logout( |
|
|
|
|
$this->page->navbar->request->getValue() |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case Auth\Option\Identity::ID_CRT_NEW: |
|
|
|
|
|
|
|
|
|
// Logout previous session |
|
|
|
@ -303,6 +294,15 @@ class Auth
@@ -303,6 +294,15 @@ class Auth
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case Auth\Option\Identity::ID_LOG_OUT: |
|
|
|
|
|
|
|
|
|
// Logout previous session |
|
|
|
|
$this->page->container->browser->database->auth->logout( |
|
|
|
|
$this->page->navbar->request->getValue() |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
|
|
// Logout previous session |
|
|
|
@ -352,6 +352,17 @@ class Auth
@@ -352,6 +352,17 @@ class Auth
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case Auth\Option\Identity::ID_LOG_OUT: |
|
|
|
|
|
|
|
|
|
// Update sensibility |
|
|
|
|
$option->gtk->set_sensitive( |
|
|
|
|
count( |
|
|
|
|
$this->_options |
|
|
|
|
) > 2 |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|