mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	Initial support for colorblindness-friendly themes (#30625)
Initial support for #25680 This PR only adds some simple styles from GitHub, it is big enough and it focuses on adding the necessary framework-level supports. More styles could be fine-tuned later.
This commit is contained in:
		| @@ -174,7 +174,7 @@ func GetGeneralTokenSigningSecret() []byte { | ||||
| 		} | ||||
| 		if generalSigningSecret.CompareAndSwap(old, &jwtSecret) { | ||||
| 			// FIXME: in main branch, the signing token should be refactored (eg: one unique for LFS/OAuth2/etc ...) | ||||
| 			logStartupProblem(1, log.WARN, "OAuth2 is not enabled, unable to use a persistent signing secret, a new one is generated, which is not persistent between restarts and cluster nodes") | ||||
| 			LogStartupProblem(1, log.WARN, "OAuth2 is not enabled, unable to use a persistent signing secret, a new one is generated, which is not persistent between restarts and cluster nodes") | ||||
| 			return jwtSecret | ||||
| 		} | ||||
| 		return *generalSigningSecret.Load() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user