You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello this problem is coming when i am in guest account.
Uncaught exception 'Exception' with message 'User::authsomeLogin() is not implemented!
how can i solve this ?
The text was updated successfully, but these errors were encountered:
Also, make sure that you've set your user_group_id correctly. I was hand coding it, and I set the rank value as the group id instead of the proper id, and it was throwing this same error
I've encountered this exception when login as guest after a long period with the browser opened. To solve this you can change the method authsome:login to this one
public function login($type = 'credentials', $credentials = null) {
$user = array();
if ($type != 'guest'){
$userModel = $this->__getUserModel();
$args = func_get_args();
if (!method_exists($userModel, 'authsomeLogin')) {
throw new Exception(
$userModel->alias.'::authsomeLogin() is not implemented! in model '
);
}
if (!is_string($type) && is_null($credentials)) {
$credentials = $type;
$type = 'credentials';
}
$user = $userModel->authsomeLogin($type, $credentials);
}
Configure::write($this->settings['configureKey'], $user);
$this->Session->write($this->settings['sessionKey'], $user);
return $user;
}
Hello this problem is coming when i am in guest account.
Uncaught exception 'Exception' with message 'User::authsomeLogin() is not implemented!
how can i solve this ?
The text was updated successfully, but these errors were encountered: