mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-02 17:13:33 +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
|
|
}
|