Commit graph

21 commits

Author SHA1 Message Date
Vitor Mattos
45cd3c374d
chore: Add SPDX header
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-05-14 12:32:04 -03:00
Vitor Mattos
026cf0dd95
fix: search case insensitive
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-04-24 02:16:37 -03:00
Vitor Mattos
0e617e90ed
fix: only return when have value
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-04-23 19:32:29 -03:00
Vitor Mattos
04f36302b8
fix: prevent error when current user don't have an email
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-04-02 13:10:39 -03:00
Vitor Mattos
c85144075b
Return herself email at search
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-11 10:50:21 -03:00
Vitor Mattos
ae9ad3d9ae
Return herself when search by email
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-08 14:37:05 -03:00
Vitor Mattos
ccccbb6bb3
Prevent warning
This key only exist when is account, when is email the array does not
have this value

Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-28 11:42:42 -03:00
Vitor Mattos
df8b376698
Fix integration tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-09 23:14:28 -03:00
Vitor Mattos
84287bb1a9
Remove duplicated result
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-09 21:20:16 -03:00
Vitor Mattos
c785ef7d18
Do not return account when this method is disabled
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-09 20:46:03 -03:00
Vitor Mattos
e0243c21d0
Prevent to return account when identify by account is disabled
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-09 20:45:25 -03:00
Vitor Mattos
22b3716495
Fix the check that allow to request to sign by email
We only need to have the identify factor email enabled

Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-09 09:17:48 -03:00
Vitor Mattos
7b889295f7
Request to create account when the user don't have an account
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-09 09:17:48 -03:00
Vitor Mattos
7cc069c92a
Fix integration tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-09 09:17:48 -03:00
Vitor Mattos
ac9bd48bd7
Respect the admin setting to allow create account
When the setting "allow create account" is true, need to be possible
fill an email to request to sign and create account with this email

Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-09 09:17:48 -03:00
Vitor Mattos
f4ec979ed5 Fix subname to return the same value as search method
Search method return the email as subname.

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-10-17 15:35:06 -03:00
Vitor Mattos
8d83d25b63 Prevent return multiple users when search by account
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-10-17 15:05:18 -03:00
Vitor Mattos
d756cf0100
Add herself to search of users
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-10-12 21:32:48 -03:00
Vitor Mattos
a693e6890d Simplify code
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-10-10 15:12:46 -03:00
Vitor Mattos
7387e1bc06 Increase per page
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-10-10 15:08:02 -03:00
Vitor Mattos
30c9528ca7 Add endpoint to list users
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-10-10 15:01:36 -03:00