mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Show the source device in login code mails
This commit is contained in:
+4
-1
@@ -24,7 +24,8 @@ see [this JSON schema](../schema/sendmaillogincoderequest.md)
|
||||
```
|
||||
{
|
||||
"mail": "test@timelimit.io",
|
||||
"locale": "de"
|
||||
"locale": "de",
|
||||
"deviceAuthToken": "1234abcde"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -34,6 +35,8 @@ If the request body is malformed or the mail address is invalid: HTTP status cod
|
||||
|
||||
If the rate limit was exceeded: HTTP status code 429 Too Many Requests
|
||||
|
||||
If a deviceAuthToken was sent which is invalid: HTTP status code 401 Unauthorized
|
||||
|
||||
If a whitelist was configured and the mail address is not within it: ``{"mailAddressNotWhitelisted": true}``
|
||||
|
||||
If a blacklist was configured and the mail server is within it: ``{"mailServerBlacklisted": true}``
|
||||
|
||||
Reference in New Issue
Block a user