mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-03 09:33:47 +01:00
9 lines
200 B
Go
9 lines
200 B
Go
package server
|
|
|
|
func validateAppProfile(profile M) error {
|
|
if !jsonSafeInteger(profile["id"]) || !inputTruthy(profile["login"]) {
|
|
return fail("github_app_reconnect_required", 403)
|
|
}
|
|
return nil
|
|
}
|