Merge pull request #12545 from nextcloud/backport/12543/stable14
[stable14] Bearer tokens are app token
This commit is contained in:
commit
e07db91900
|
@ -776,6 +776,10 @@ class Session implements IUserSession, Emitter {
|
|||
if(!$this->validateToken($token)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Set the session variable so we know this is an app password
|
||||
$this->session->set('app_password', $token);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue