Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3346581
D5227.id17163.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
709 B
Referenced Files
None
Subscribers
None
D5227.id17163.diff
View Options
diff --git a/keyserver/src/responders/user-responders.js b/keyserver/src/responders/user-responders.js
--- a/keyserver/src/responders/user-responders.js
+++ b/keyserver/src/responders/user-responders.js
@@ -18,6 +18,7 @@
import {
userSettingsTypes,
notificationTypeValues,
+ loginActionSources,
} from 'lib/types/account-types';
import { defaultNumberPerThread } from 'lib/types/message-types';
import type {
@@ -188,6 +189,7 @@
calendarQuery: t.maybe(entryQueryInputValidator),
deviceTokenUpdateRequest: t.maybe(deviceTokenUpdateRequestInputValidator),
platformDetails: tPlatformDetails,
+ source: t.maybe(t.enums.of(values(loginActionSources))),
});
async function logInResponder(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 9:10 AM (2 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2569998
Default Alt Text
D5227.id17163.diff (709 B)
Attached To
Mode
D5227: [keyserver] allow `source` field in log_in endpoint validation
Attached
Detach File
Event Timeline
Log In to Comment