- AuthController aktualisiert, um eine klarere Struktur zu implementieren. - Login-Methode vereinfacht, um die Benutzerauthentifizierung direkt zu behandeln. - Neue LoginById-Methode für den Benutzerlogin über ID eingeführt. - Fehlerprotokollierung und -behandlung in den Login-Methoden verbessert. - Überflüssigen Code entfernt und Lesbarkeit verbessert. - TODO für weitere Integration mit UserManager hinzugefügt.
9 lines
254 B
C#
9 lines
254 B
C#
namespace WorkFlow.API
|
|
{
|
|
public static class WFKey
|
|
{
|
|
public static readonly string WrongPassword = nameof(WrongPassword);
|
|
public static readonly string UserNotFoundOrWrongPassword = nameof(UserNotFoundOrWrongPassword);
|
|
}
|
|
}
|