9 Replies
u can try to integrate it with ur ui'
this is just the login part
havent put the reg part
which will be a diff form
use a random user and pass
there isnt any user created yet
What do you mean "not working together"?
Ui works fine without the code
But when I add it
It breaks
After removing the code it just doesn’t work anymore
You can test if you want
Login require 2 textbox and a button
The other button is to show register form
The reg part
Well, the code isn't the best, but it should, generally, work. Maybe besides that
async void
method, you probably want to look into dispatchers there
What exactly is the issue, again?
Do you get error 500?The login code doesn’t work
Can’t build
Because of a lot of error
I am on mobile right now
Ah, now we're getting somewhere, compilation errors
You can try to make the ui and add the code
It wouldnt work
Nothing in this code seems broken tbh
Could just be me
Can you try the code and make a ui
And send it here
http://144.24.154.156:5445/auth/register
http://144.24.154.156:5445/auth/login
Ratelimit 10 request per 1 min
Idk if it’s http or https because hosting on ptero
Most likely http
Because ip and port
Send username and password
Receive accountType and token