mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Refactor OAuth2 and OIDC endpoints #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -41,6 +41,6 @@ func OAuthAuthorize(router *gin.RouterGroup) {
|
||||
// TODO
|
||||
|
||||
// Send response.
|
||||
c.JSON(http.StatusOK, gin.H{"status": StatusSuccess})
|
||||
c.JSON(http.StatusMethodNotAllowed, gin.H{"status": StatusFailed})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user