mirror of
https://github.com/Kizuren/QuizConnect.git
synced 2025-12-21 13:06:15 +01:00
Improved user login
This commit is contained in:
parent
bdda63089f
commit
8314d50a87
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ export const Login: React.FC = () => {
|
||||||
const handleLogin = async (code: string) => {
|
const handleLogin = async (code: string) => {
|
||||||
try {
|
try {
|
||||||
setError(null);
|
setError(null);
|
||||||
const response = await login(code); // user login
|
const response = await login(code.toUpperCase()); // user login
|
||||||
console.info(response);
|
console.info(response);
|
||||||
|
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue