mirror of
https://github.com/timvisee/send.git
synced 2025-10-06 02:39:57 +02:00
add fxa_required option
This commit is contained in:
parent
9891d1f0ba
commit
17057e725d
7 changed files with 20 additions and 3 deletions
|
@ -94,6 +94,10 @@ export default class User {
|
|||
: this.limits.ANON.MAX_DOWNLOADS;
|
||||
}
|
||||
|
||||
get loginRequired() {
|
||||
return this.authConfig.fxa_required;
|
||||
}
|
||||
|
||||
async metricId() {
|
||||
return this.loggedIn ? hashId(this.info.uid) : undefined;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue