From 164b76fad806b078aad8c537ba9bdcfbfc757dca Mon Sep 17 00:00:00 2001 From: physcik Date: Tue, 5 May 2026 11:39:54 +0500 Subject: css changes + error handling --- front/src/Authentication/RegisterPage.tsx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'front/src/Authentication/RegisterPage.tsx') diff --git a/front/src/Authentication/RegisterPage.tsx b/front/src/Authentication/RegisterPage.tsx index 5c818f6..10864cd 100644 --- a/front/src/Authentication/RegisterPage.tsx +++ b/front/src/Authentication/RegisterPage.tsx @@ -1,3 +1,4 @@ +import './style.css'; import axios, { AxiosError } from "axios"; import { useContext, useState } from "react"; import { useNavigate } from "react-router"; @@ -30,10 +31,15 @@ function RegisterPage() { return (
-

{ GetLocalizedString("Username", lang) }

- setUsername(ev.target.value)} /> -

{ GetLocalizedString("Password", lang) }

- setPassw(ev.target.value)} /> +
+

{ GetLocalizedString("Username", lang) }

+ setUsername(ev.target.value)} /> +
+

{ GetLocalizedString("*security-warning*", lang) }

+
+

{ GetLocalizedString("Password", lang) }

+ setPassw(ev.target.value)} /> +