Merge pull request #12546 from nextcloud/backport/12543/stable13
[stable13] Bearer tokens are app token
This commit is contained in:
commit
d268a97d21
|
@ -774,6 +774,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