Hi I was wondering how to make usernames unique or atleast a way to not make it possible to change your username through the API but only the ones with a token so I can do the usernames myself.
What do you mean by username
? Is it an attribute of a collection you've created?
No the Authentication side of appwrite
That's just the name
field and not username
. I don't think you can prevent the names from being changed in auth. You can, however, create a collection for usernames and set the appropriate permissions and create a function to create the usernames. So essentially, you'll not use the name attribute in auth at all.
Recommended threads
- Display image by url in img tag of angul...
Hello all, I have a bucket full of images I'd like to display in my web application. Currently, I am using the `getFileForView()` function of the Storage SDK to...
- Appwrite Pull/Push Sync Ordering
This is very good sync between local and host. I have ordered appwrite.json attributes prepare well. Then, sometime I want to change on console for convenience...
- 1.6 Functions -- Missing Param documentI...
So I upgraded my app to 1.6, and it's erroring about "Param documentId is required", but it's just running a `createDocument` and everything is correct -- ```t...