mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
PHRAS-4007: Auth provider - add keycloak provider - openid (#4462)
* keycloak provider * add readme * comment regenarete password * add exclusive option to provider an column can_renew_passwor to user * default exclusive false * always compatible with psauth * bump image tag .env * bump Version to 4.1.8-rc9 * bump version to rc12 * add autoconnect
This commit is contained in:
@@ -191,6 +191,14 @@ class UserController extends Controller
|
||||
return $this->app->json(['success' => true]);
|
||||
}
|
||||
|
||||
public function changeCanRenewPasswordAction(Request $request)
|
||||
{
|
||||
$helper = $this->getUserManageHelper($request);
|
||||
$helper->setCanRenewPassword();
|
||||
|
||||
return $this->app->json(['success' => true]);
|
||||
}
|
||||
|
||||
public function applyRightsAction(Request $request)
|
||||
{
|
||||
$data = ['error' => true];
|
||||
|
Reference in New Issue
Block a user