mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 23:40:57 +01:00
Minor, fix an issue where creating a provider without changing anything
fails to save it because there are no effective transactions.
This commit is contained in:
parent
055535b462
commit
7eb579788e
1 changed files with 4 additions and 0 deletions
|
@ -110,6 +110,10 @@ final class PhabricatorAuthEditController
|
|||
->setNewValue($value);
|
||||
}
|
||||
|
||||
if ($is_new) {
|
||||
$config->save();
|
||||
}
|
||||
|
||||
$editor = id(new PhabricatorAuthProviderConfigEditor())
|
||||
->setActor($viewer)
|
||||
->setContentSourceFromRequest($request)
|
||||
|
|
Loading…
Reference in a new issue