Merge remote-tracking branch 'upstream/main' into merge-gramsrv-2965f5d
This commit is contained in:
commit
ebb0be38d9
355 changed files with 44640 additions and 2320 deletions
|
|
@ -39,6 +39,9 @@ func rpcAllowedWithoutAuthorization(id uint32) bool {
|
|||
tg.AuthReportMissingCodeRequestTypeID,
|
||||
tg.AuthResetLoginEmailRequestTypeID,
|
||||
tg.AccountGetPasswordRequestTypeID,
|
||||
// deleteAccount may complete the narrow password_pending login path when
|
||||
// the user forgot 2FA. The handler resolves only that bound identity.
|
||||
tg.AccountDeleteAccountRequestTypeID,
|
||||
// 登录邮箱 setup(emailVerifyPurposeLoginSetup)发生在登录流程中、尚未鉴权,
|
||||
// 故这两个 account.* 方法必须放行 pre-auth;loginChange 分支内部仍校验 userID。
|
||||
tg.AccountSendVerifyEmailCodeRequestTypeID,
|
||||
|
|
@ -46,6 +49,7 @@ func rpcAllowedWithoutAuthorization(id uint32) bool {
|
|||
tg.HelpGetConfigRequestTypeID,
|
||||
tg.HelpGetNearestDCRequestTypeID,
|
||||
tg.HelpGetInviteTextRequestTypeID,
|
||||
tg.HelpSaveAppLogRequestTypeID,
|
||||
tg.HelpGetAppConfigRequestTypeID,
|
||||
tg.HelpGetCountriesListRequestTypeID,
|
||||
tg.HelpGetTimezonesListRequestTypeID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue