mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
ec44347bbe
Introduced a UsernameValidator with Cyrillic and length checks, integrated into AuthService and registration flow. Added InvalidUsernameException and related interface. Updated User model to support friend requests, added FriendsController (stub), and configured Friendship entity in EF Core. Adjusted UserValidator max name length and removed navigation properties from PrivateChat.
8 lines
172 B
C#
8 lines
172 B
C#
using Govor.Core.Infrastructure.Validators;
|
|
|
|
namespace Govor.Application.Interfaces.Authentication;
|
|
|
|
public interface IUsernameValidator : IObjectValidator<string>
|
|
{
|
|
|
|
} |