mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 16:32:20 +00:00
zugangscode wird beim anlegen der person nun automatisch generiert
This commit is contained in:
@@ -157,6 +157,7 @@ if(isset($_POST['save']))
|
||||
$person->aktiv = true;
|
||||
$person->insertamum = date('Y-m-d H:i:s');
|
||||
$person->insertvon = $user;
|
||||
$person->zugangscode= uniqid();
|
||||
|
||||
if($person->save())
|
||||
{
|
||||
|
||||
@@ -410,6 +410,7 @@ if(isset($_POST['save']))
|
||||
$person->aktiv = true;
|
||||
$person->insertamum = date('Y-m-d H:i:s');
|
||||
$person->insertvon = $user;
|
||||
$person->zugangscode= uniqid();
|
||||
|
||||
if($person->save())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user