View Issue Details

IDProjectCategoryView StatusLast Update
0000045Usermanagement[Adventure PHP Framework] Konfiguration // Configurationpublic2018-08-26 17:05
ReporterCoach83Assigned ToChristianAchatz 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionduplicate 
Product Version[Adventure PHP Framework] 1.17 
Target Version[Adventure PHP Framework] 4.0Fixed in Version[Adventure PHP Framework] 3.4 
Summary0000045: Prüfung auf doppelte Benutzernamen und / oder E-Mail Adressen
DescriptionIn der Umgt.ini soll definiert werden können, ob es doppelte Benutzernamen und / oder doppelte E-Mail Adressen geben darf. Dies soll anschließend im Registrierungsformular berücksichtigt werden.
Tagsumgt
Codereferenz: ([Datei]:[Zeile])

Activities

ChristianAchatz

2018-08-26 17:05

administrator   ~0000867

Issue has already been implemented in the meantime. Code reference from RegistrationController:

if ($loginType === 'username') {
   $regUser = $uM->loadUserByUserName($userNameValue);
} else {
   $regUser = $uM->loadUserByEMail($email->getValue());
}

if ($regUser === null) {
   $uM->saveUser($user);
   $this->getTemplate('register-ok')->transformOnPlace();
} else {
   $form->setPlaceHolder('register-error', $this->getTemplate('register-error-user-already-exists')->transformTemplate());
   $form->transformOnPlace();
}

Based on the log-in type, the controller checks whether a user has already signed up with the e-mail or user name provided. Messages are displayed accordingly.

Issue History

Date Modified Username Field Change
2013-06-11 07:20 Coach83 New Issue
2013-06-13 07:37 jwlighting Tag Attached: umgt
2013-07-16 19:01 jwlighting Category Konfiguration => Konfiguration // Configuration
2018-08-26 00:12 ChristianAchatz Assigned To => ChristianAchatz
2018-08-26 00:12 ChristianAchatz Status new => assigned
2018-08-26 00:12 ChristianAchatz Target Version => 4.0
2018-08-26 17:05 ChristianAchatz Note Added: 0000867
2018-08-26 17:05 ChristianAchatz Status assigned => resolved
2018-08-26 17:05 ChristianAchatz Resolution open => duplicate
2018-08-26 17:05 ChristianAchatz Fixed in Version => 3.4