mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 12:29:05 +02:00
#1133 add config option [service] DISABLE_MINIMUM_KEY_SIZE_CHECK
This commit is contained in:
1 parent
5169a0e025
commit
aae74c793a
4 files changed
+37
-32
No files matched your search
@@ -61,7 +61,7 @@ func (fi bindata_file_info) Sys() interface{} {
|
||||
return nil
|
||||
}
|
||||
|
||||
var _conf_app_ini = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x59\xcd\x73\xe3\x46\x76\xbf\xe3\xaf\xe8\xa1\xe3\x78\x26\xc5\x2f\x49\x9e\x0f\xcb\x56\x62\x8a\x04\x25\xac\x28\x92\x06\x20\xc9\xe3\x29\x15\x06\x02\x9a\x24\x2c\x10\x8d\x41\x03\x92\xb8\x95\x43\x5c\x39\xe4\x9e\x6c\x25\x97\x1c\x92\x43\x2a\x55\x49\x36\xa9\xdc\x76\xb7\x2a\x27\x57\xee\xf6\xff\xe0\xf2\x6e\xfe\x8b\xfc\x5e\x37\x40\x82\x1a\xed\xac\xd7\xc9\xd6\x4c\x89\x40\x7f\xbc\x7e\xdf\xef\xf7\x1a\xef\xb1\xb1\x79\x6e\xda\x4c\xfd\x39\x9d\x0c\xac\xe1\x4b\xe6\x1e\x5b\x0e\x1b\x5a\x23\xd3\x78\x8f\x4d\x47\x66\xcf\x31\xd9\x69\xef\xc4\x64\xfd\xe3\xde\xf8\xc8\x74\xd8\x64\xcc\xfa\x13\xdb\x36\x9d\xe9\x64\x3c\xb0\xc6\x47\xac\x7f\xe6\xb8\x93\x53\x0c\x8e\x87\xd6\x91\xde\x69\x7c\xcc\x7a\x69\xca\x12\x7f\xc9\x59\xbe\xf0\x73\x26\x17\xe2\x56\x32\x91\x30\x7e\xc3\xb3\x15\x4b\xfd\x39\x26\xa2\x3c\xe6\x46\x6f\x3a\xf5\xc6\xbd\x53\x93\x1d\xb0\x23\x31\x97\xfb\xf8\xcb\x8e\xa2\x9c\x39\x3c\xbb\x89\x02\x0e\x4a\xfd\x85\x9f\x60\x39\xc6\xa2\x19\x5b\x89\x82\x65\x45\xc2\x62\x11\xf8\x71\xbc\x32\xec\xb3\xb1\x77\xe6\x80\xfb\x03\x36\x8f\x72\xac\x36\xa3\x7c\xc1\x33\xd6\x08\xf9\x4d\xa3\xc9\x1a\x69\x26\xc2\x06\x13\x18\xc8\xb9\xcc\x31\x12\xf2\x99\x5f\xc4\xa0\x25\xf5\x1a\x45\x01\xa2\x13\x03\x78\x37\x8c\x57\x19\x4f\x85\x8c\x72\x91\xad\x2e\x0d\x7b\x32\x71\xd9\x81\xe1\xf4\x6d\x6b\xea\x7a\xee\xcb\x29\x2d\xbb\xf2\xe5\x02\xeb\x24\x38\xe4\xd9\xa5\x31\xb5\x27\xee\xa4\x3f\x19\x61\x66\x91\xe7\xa9\x31\x98\x9c\xf6\xac\x31\xde\x14\x8f\x0b\x21\x73\x45\xc6\x3b\xb3\x69\xc9\xfb\x8f\xab\xf5\x4f\xe4\x7e\xa7\xf3\xfe\x63\xbd\x1c\x2f\xef\x3f\x3e\x76\xdd\xa9\x37\x9d\xd8\xee\x13\xd9\x31\xd4\x4b\x6f\x30\x80\x68\xc6\x7a\x02\x04\xf6\xba\xdd\x2e\xe4\x1c\x44\xd2\xbf\x8a\x39\x73\x9c\x63\x36\xe3\x7e\x5e\x64\x9c\xdd\x2e\x78\xc2\x12\x91\x33\xff\xc6\x8f\x62\x9a\x36\x06\x96\xd3\x3b\x1c\x99\x1e\x2d\x3b\x60\x33\x3f\x96\xdc\xc0\x73\x45\x6c\x77\xb7\x46\xaa\x3f\x18\x93\x7d\x12\x16\x25\x95\xe2\x96\x22\xe4\xc6\x64\x38\x1c\x59\x63\xb3\xd2\x92\x26\x52\x11\xb6\x27\x67\xae\x69\x7b\xa3\xc9\xd1\x7a\xea\x63\x76\xc4\x13\x9e\xf9\x39\x67\x32\xe7\xa9\xdc\xc7\xc8\x1f\xb1\x20\x84\xd9\xf3\x45\x27\x17\x9d\x39\x0c\xdd\x09\x0a\x99\x8b\x65\x87\x54\x26\xd5\x82\xb6\x1a\x67\x01\xcf\x72\xd6\x0a\xfc\x83\x3c\x2b\x38\x6b\x85\x05\x08\x45\x22\x39\x78\xf1\xfc\x59\x77\xd1\x5d\x76\x25\x6b\x91\x4e\x0f\x96\x2b\xfa\x69\xf3\x3b\x7f\x99\xc6\xbc\x1d\x88\xa5\xf1\x31\xe8\x4c\x32\x36\xcb\xc4\x92\xf9\xac\x9d\xce\xee\xd8\x2c\x82\x60\xfc\x2e\x15\x59\xce\x43\x3d\x03\xff\x60\x17\x51\x12\x92\x47\xd2\x61\xd1\x2c\x0a\x34\xaf\x02\x3a\x7c\x1c\x0a\x50\x21\x25\xce\x44\x36\xe7\x39\xcb\x45\xb9\x5f\x6d\x4c\xb3\xe8\x86\x16\x5f\xf3\xd5\x13\x2d\x97\x48\x79\x22\x65\xcc\xd2\xeb\x40\xee\xec\xb2\x16\x94\x47\x54\xd5\xe9\x2d\x51\xe4\xe5\x1b\x5f\xb2\x56\x22\xb0\x4d\xfe\xb0\x5d\x58\x59\x6d\xa2\x09\x49\x0f\x21\x97\x46\xdf\xb4\x5d\x8f\x82\x0c\xea\xae\xab\xb0\x53\x1d\x63\x9c\x98\x2f\x1f\x5c\x50\x52\xc4\xf1\x67\x69\x8a\x10\x89\x61\xeb\x98\x89\x19\xcb\x39\x34\x48\x42\xf9\x49\x08\x2d\x40\xdd\x81\xd6\x1b\xd9\x0b\xcb\x6b\x21\xa3\x54\x80\x51\x72\x35\x28\x8b\x22\x96\x86\xf9\x1d\x0f\x0a\x28\xd8\x70\xdc\x9e\x6b\xf5\x3d\xe5\xef\xd3\x9e\x0b\x9f\xd3\xa9\x20\x26\x15\xc3\x8a\xe5\xa1\x47\x5f\x58\x53\x26\x8b\x94\xd4\x6a\x98\x63\xe5\x48\x6a\x6c\xe3\x42\x23\x30\x13\x25\x73\x9d\x2a\x60\x0a\x98\x24\x69\xc5\x62\x3e\x87\x19\x0b\x84\x9e\x6c\xb2\xc0\x4f\xd8\x15\x67\x8d\x85\x58\x72\x1d\xe3\x30\x54\x0c\x23\x36\x8c\x51\x4f\xe5\x26\xf0\x70\x44\x7a\xa0\x15\x88\xd8\xd0\xcf\x7d\x04\x2f\xbf\xac\xe5\x89\xe5\x4a\xbe\x89\x55\xa6\x80\x37\xcd\x33\x2e\x35\x25\x0c\x46\x39\xdf\xc3\x44\x94\x7f\x20\x29\xed\x64\x2c\x58\x08\xca\x48\x83\xc3\x2a\x11\xa8\xbd\xc6\xf1\xc4\xa1\x50\xda\xd9\x7d\xde\xee\xe2\xdf\xce\xfe\xde\x5e\xf7\x99\x51\xe6\x34\x72\x69\xa3\x4c\x50\x99\x10\xb9\x31\xed\x39\xce\xc5\x40\xe9\x65\x48\x07\xd5\x8e\x4d\xe2\x55\x93\xf1\x2a\x7f\xe9\xa0\x24\xce\x32\xfe\xa6\x88\xb2\x52\x44\xa4\x9c\x68\xb6\x6a\xcd\x8a\x38\x6e\x20\x92\x47\xeb\xdc\xa5\xd7\x57\x64\x2b\xfe\x15\x55\x43\x9b\x82\x91\xfc\x2a\xc8\xda\xe1\x15\xd4\xe1\x87\xcb\x28\xb9\x54\x99\x2c\x28\xb2\x28\x47\xbe\xb3\xc6\xb0\xe0\x68\x84\x70\xee\x9f\xd4\x8c\xf1\xe8\x91\xce\xfe\xba\x38\xb8\x13\x76\x62\x9a\x53\xf6\x72\x72\x66\x33\x25\xdb\xa0\xe7\xf6\x98\xd3\x1b\x9a\x8f\x1e\x19\x8e\xd9\xb7\x4d\xd7\x83\x17\x82\xc0\xa3\xf7\x3e\x1d\x0e\xcc\x0b\x1b\xff\xff\xf8\x4f\x1e\x93\x2f\x14\xb9\x20\x33\xc2\xdf\x33\xbe\xe4\xcb\x2b\xc8\x1a\xfa\x08\x0a\x24\x10\x6b\xec\xd9\xe6\xa9\x79\x7a\x88\x7c\x32\xe8\xbd\x74\xb0\xff\xb9\xd1\x9f\x4c\x4e\x2c\x53\xe5\xf8\x9a\x4a\x3d\xff\x96\x4b\x32\x6a\x39\xbd\xde\x57\x5f\x13\x25\x41\xc6\xc3\x48\x6b\xc5\xa6\xca\x23\x29\x80\xc5\xdd\x8a\xf9\x05\xb4\x9c\xe4\x95\x57\x2e\xb8\x1f\x82\x11\x55\xaf\x10\x10\xe4\x5f\xea\xc5\xb0\xa9\x32\x3a\xa6\x87\x9c\xfd\xf9\x4b\xaf\x77\xe6\x1e\x9b\x63\x38\x38\x9c\x7c\xb2\xae\x3b\x9f\xb7\x2e\xcc\x43\x9a\x6a\xd1\x40\x59\x18\xe0\x28\x97\x46\xaf\xef\x5a\xe7\xa6\xd7\x87\x85\xbc\x11\x3d\x9d\x5a\x63\x64\x4b\x12\x6c\xe7\x45\x17\xc4\x1d\x93\xc2\x84\x1c\xe2\xb7\x2e\x42\xb4\x2a\x6e\x38\xfc\x1e\xa9\x28\x10\xc9\x2c\xca\x96\x8c\xb7\x96\x48\xf1\x2a\x30\x32\x3e\x8f\x6Line truncated
|
||||
var _conf_app_ini = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xb4\x59\xcd\x73\xe3\x46\x76\xbf\xe3\xaf\xe8\xa1\xe3\x78\x26\xc5\x2f\x49\x1e\x8d\x2c\x5b\x89\x29\x12\x94\xb0\xe2\x97\x01\x4a\xf2\x78\x4a\x85\x81\x80\x26\x09\x0b\x44\x63\xd0\x80\x24\x6e\xe5\x10\x57\x0e\xb9\x27\x5b\xc9\x25\x87\xe4\x90\x4a\x55\x92\x4d\x2a\xb7\xdd\xad\xca\xc9\x95\xbb\xfd\x3f\xb8\xbc\x9b\xff\x22\xbf\xd7\x0d\x90\xa0\x46\x9e\xf5\x6e\xb2\x35\x53\x22\xd0\x1f\xaf\xdf\xf7\xfb\xbd\xc6\x7b\x6c\x64\x5e\x98\x36\x53\x7f\x86\xe3\x9e\xd5\x7f\xc9\xa6\xa7\x96\xc3\xfa\xd6\xc0\x34\xde\x63\x93\x81\xd9\x71\x4c\x36\xec\x9c\x99\xac\x7b\xda\x19\x9d\x98\x0e\x1b\x8f\x58\x77\x6c\xdb\xa6\x33\x19\x8f\x7a\xd6\xe8\x84\x75\xcf\x9d\xe9\x78\x88\xc1\x51\xdf\x3a\xd1\x3b\x8d\x8f\x59\x27\x49\x58\xec\x2d\x39\xcb\x16\x5e\xc6\xe4\x42\xdc\x49\x26\x62\xc6\x6f\x79\xba\x62\x89\x37\xc7\x44\x98\x45\xdc\xe8\x4c\x26\xee\xa8\x33\x34\xd9\x11\x3b\x11\x73\x79\x88\xbf\xec\x24\xcc\x98\xc3\xd3\xdb\xd0\xe7\xa0\xd4\x5d\x78\x31\x96\x63\x2c\x9c\xb1\x95\xc8\x59\x9a\xc7\x2c\x12\xbe\x17\x45\x2b\xc3\x3e\x1f\xb9\xe7\x0e\xb8\x3f\x62\xf3\x30\xc3\x6a\x33\xcc\x16\x3c\x65\xb5\x80\xdf\xd6\xea\xac\x96\xa4\x22\xa8\x31\x81\x81\x8c\xcb\x0c\x23\x01\x9f\x79\x79\x04\x5a\x52\xaf\x51\x14\x20\x3a\x31\x80\x77\xc3\x78\x95\xf2\x44\xc8\x30\x13\xe9\xea\xca\xb0\xc7\xe3\x29\x3b\x32\x9c\xae\x6d\x4d\xa6\xee\xf4\xe5\x84\x96\x5d\x7b\x72\x81\x75\x12\x1c\xf2\xf4\xca\x98\xd8\xe3\xe9\xb8\x3b\x1e\x60\x66\x91\x65\x89\xd1\x1b\x0f\x3b\xd6\x08\x6f\x8a\xc7\x85\x90\x99\x22\xe3\x9e\xdb\xb4\xe4\xfd\xa7\xe5\xfa\x67\xf2\xb0\xd5\x7a\xff\xa9\x5e\x8e\x97\xf7\x9f\x9e\x4e\xa7\x13\x77\x32\xb6\xa7\xcf\x64\xcb\x50\x2f\x9d\x5e\x0f\xa2\x19\xeb\x09\x10\xd8\x6b\xb7\xdb\x90\xb3\x17\x4a\xef\x3a\xe2\xcc\x71\x4e\xd9\x8c\x7b\x59\x9e\x72\x76\xb7\xe0\x31\x8b\x45\xc6\xbc\x5b\x2f\x8c\x68\xda\xe8\x59\x4e\xe7\x78\x60\xba\xb4\xec\x88\xcd\xbc\x48\x72\x03\xcf\x25\xb1\xdd\xdd\x0a\xa9\x6e\x6f\x44\xf6\x89\x59\x18\x97\x8a\x5b\x8a\x80\x1b\xe3\x7e\x7f\x60\x8d\xcc\x52\x4b\x9a\x48\x49\xd8\x1e\x9f\x4f\x4d\xdb\x1d\x8c\x4f\xd6\x53\x1f\xb3\x13\x1e\xf3\xd4\xcb\x38\x93\x19\x4f\xe4\x21\x46\xfe\x88\xf9\x01\xcc\x9e\x2d\x5a\x99\x68\xcd\x61\xe8\x96\x9f\xcb\x4c\x2c\x5b\xa4\x32\xa9\x16\x34\xd5\x38\xf3\x79\x9a\xb1\x86\xef\x1d\x65\x69\xce\x59\x23\xc8\x41\x28\x14\xf1\xd1\xc1\x8b\xfd\xf6\xa2\xbd\x6c\x4b\xd6\x20\x9d\x1e\x2d\x57\xf4\xd3\xe4\xf7\xde\x32\x89\x78\xd3\x17\x4b\xe3\x63\xd0\x19\xa7\x6c\x96\x8a\x25\xf3\x58\x33\x99\xdd\xb3\x59\x08\xc1\xf8\x7d\x22\xd2\x8c\x07\x7a\x06\xfe\xc1\x2e\xc3\x38\x20\x8f\xa4\xc3\xc2\x59\xe8\x6b\x5e\x05\x74\xf8\x34\x10\xa0\x42\x4a\x9c\x89\x74\xce\x33\x96\x89\x62\xbf\xda\x98\xa4\xe1\x2d\x2d\xbe\xe1\xab\x67\x5a\x2e\x91\xf0\x58\xca\x88\x25\x37\xbe\xdc\xd9\x65\x0d\x28\x8f\xa8\xaa\xd3\x1b\x22\xcf\x8a\x37\xbe\x64\x8d\x58\x60\x9b\xfc\x71\xbb\xb0\xb2\xdc\x44\x13\x92\x1e\x02\x2e\x8d\xae\x69\x4f\x5d\x0a\x32\xa8\xbb\xaa\xc2\x56\x79\x8c\x71\x66\xbe\x7c\x74\x41\x41\x11\xc7\x9f\x27\x09\x42\x24\x82\xad\x23\x26\x66\x2c\xe3\xd0\x20\x09\xe5\xc5\x01\xb4\x00\x75\xfb\x5a\x6f\x64\x2f\x2c\xaf\x84\x8c\x52\x01\x46\xc9\xd5\xa0\x2c\x8a\x58\x1a\xe6\xf7\xdc\xcf\xa1\x60\xc3\x99\x76\xa6\x56\xd7\x55\xfe\x3e\xe9\x4c\xe1\x73\x3a\x15\x44\xa4\x62\x58\xb1\x38\xf4\xe4\x0b\x6b\xc2\x64\x9e\x90\x5a\x0d\x73\xa4\x1c\x49\x8d\x6d\x5c\x68\x00\x66\xc2\x78\xae\x53\x05\x4c\x01\x93\xc4\x8d\x48\xcc\xe7\x30\x63\x8e\xd0\x93\x75\xe6\x7b\x31\xbb\xe6\xac\xb6\x10\x4b\xae\x63\x1c\x86\x8a\x60\xc4\x9a\x31\xe8\xa8\xdc\x04\x1e\x4e\x48\x0f\xb4\x02\x11\x1b\x78\x99\x87\xe0\xe5\x57\x95\x3c\xb1\x5c\xc9\x37\x91\xca\x14\xf0\xa6\x79\xca\xa5\xa6\x84\xc1\x30\xe3\x7b\x98\x08\xb3\x0f\x24\xa5\x9d\x94\xf9\x0b\x41\x19\xa9\x77\x5c\x26\x02\xb5\xd7\x38\x1d\x3b\x14\x4a\x3b\xbb\x2f\x9a\x6d\xfc\xdb\x39\xdc\xdb\x6b\xef\x1b\x45\x4e\x23\x97\x36\x8a\x04\x95\x0a\x91\x19\x93\x8e\xe3\x5c\xf6\x94\x5e\xfa\x74\x50\xe5\xd8\x38\x5a\xd5\x19\x2f\xf3\x97\x0e\x4a\xe2\x2c\xe5\x6f\xf2\x30\x2d\x44\x44\xca\x09\x67\xab\xc6\x2c\x8f\xa2\x1a\x22\x79\xb0\xce\x5d\x7a\x7d\x49\xb6\xe4\x5f\x51\x35\xb4\x29\x18\xc9\xaf\x82\xac\x19\x5c\x43\x1d\x5e\xb0\x0c\xe3\x2b\x95\xc9\xfc\x3c\x0d\x33\xe4\x3b\x6b\x04\x0b\x0e\x06\x08\xe7\xee\x59\xc5\x18\x4f\x9e\xe8\xec\xaf\x8b\xc3\x74\xcc\xce\x4c\x73\xc2\x5e\x8e\xcf\x6d\xa6\x64\xeb\x75\xa6\x1d\xe6\x74\xfa\xe6\x93\x27\x86\x63\x76\x6d\x73\xea\xc2\x0b\x41\xe0\xc9\x7b\x9f\xf6\x7b\xe6\xa5\x8d\xff\x7f\xfc\x27\x4f\xc9\x17\xf2\x4c\x90\x19\xe1\xef\x29\x5f\xf2\xe5\x35\x64\x0d\x3c\x04\x05\x12\x88\x35\x72\x6d\x73\x68\x0e\x8f\x91\x4f\x7a\x9d\x97\x0e\xf6\xbf\x30\xba\xe3\xf1\x99\x65\xaa\x1c\x5f\x51\xa9\xeb\xdd\x71\x49\x46\x2d\xa6\xd7\xfb\xaa\x6b\xc2\xd8\x4f\x79\x10\x6a\xad\xd8\x54\x79\x24\x05\xb0\xb8\x5f\x31\x2f\x87\x96\xe3\xac\xf4\xca\x05\xf7\x02\x30\xa2\xea\x15\x02\x82\xfc\x4b\xbd\x18\x36\x55\x46\xc7\x74\x91\xb3\x3f\x7f\xe9\x76\xce\xa7\xa7\xe6\x08\x0e\x0e\x27\x1f\xaf\xeb\xce\xe7\x8d\x4b\xf3\x98\xa6\x1a\x34\x50\x14\x06\x38\xca\x95\xd1\xe9\x4e\xad\x0b\xd3\xed\xc2\x42\xee\x80\x9e\x86\xd6\x08\xd9\x92\x04\xdb\x39\x68\x83\xb8\x63\x52\x98\x90\x43\xfc\xe0\x22\x44\xab\xe2\x86\xc3\xef\x91\x8a\x7c\x11\xcf\xc2\x74\xc9\x78\x63\x89\x14\xaf\x02\x23\xe5\xf3\x5Line truncated
|
||||
|
||||
func conf_app_ini_bytes() ([]byte, error) {
|
||||
return bindata_read(
|
||||
@@ -76,7 +76,7 @@ func conf_app_ini() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindata_file_info{name: "conf/app.ini", size: 8625, mode: os.FileMode(420), modTime: time.Unix(1427119977, 0)}
|
||||
info := bindata_file_info{name: "conf/app.ini", size: 8720, mode: os.FileMode(420), modTime: time.Unix(1427288024, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
|
||||
+13
-10
@@ -339,6 +339,8 @@ func NewConfigContext() {
|
||||
}
|
||||
|
||||
var Service struct {
|
||||
ActiveCodeLives int
|
||||
ResetPwdCodeLives int
|
||||
RegisterEmailConfirm bool
|
||||
DisableRegistration bool
|
||||
ShowRegistrationButton bool
|
||||
@@ -347,19 +349,20 @@ var Service struct {
|
||||
EnableNotifyMail bool
|
||||
EnableReverseProxyAuth bool
|
||||
EnableReverseProxyAutoRegister bool
|
||||
ActiveCodeLives int
|
||||
ResetPwdCodeLives int
|
||||
DisableMinimumKeySizeCheck bool
|
||||
}
|
||||
|
||||
func newService() {
|
||||
Service.ActiveCodeLives = Cfg.Section("service").Key("ACTIVE_CODE_LIVE_MINUTES").MustInt(180)
|
||||
Service.ResetPwdCodeLives = Cfg.Section("service").Key("RESET_PASSWD_CODE_LIVE_MINUTES").MustInt(180)
|
||||
Service.DisableRegistration = Cfg.Section("service").Key("DISABLE_REGISTRATION").MustBool()
|
||||
Service.ShowRegistrationButton = Cfg.Section("service").Key("SHOW_REGISTRATION_BUTTON").MustBool(!Service.DisableRegistration)
|
||||
Service.RequireSignInView = Cfg.Section("service").Key("REQUIRE_SIGNIN_VIEW").MustBool()
|
||||
Service.EnableCacheAvatar = Cfg.Section("service").Key("ENABLE_CACHE_AVATAR").MustBool()
|
||||
Service.EnableReverseProxyAuth = Cfg.Section("service").Key("ENABLE_REVERSE_PROXY_AUTHENTICATION").MustBool()
|
||||
Service.EnableReverseProxyAutoRegister = Cfg.Section("service").Key("ENABLE_REVERSE_PROXY_AUTO_REGISTRATION").MustBool()
|
||||
sec := Cfg.Section("service")
|
||||
Service.ActiveCodeLives = sec.Key("ACTIVE_CODE_LIVE_MINUTES").MustInt(180)
|
||||
Service.ResetPwdCodeLives = sec.Key("RESET_PASSWD_CODE_LIVE_MINUTES").MustInt(180)
|
||||
Service.DisableRegistration = sec.Key("DISABLE_REGISTRATION").MustBool()
|
||||
Service.ShowRegistrationButton = sec.Key("SHOW_REGISTRATION_BUTTON").MustBool(!Service.DisableRegistration)
|
||||
Service.RequireSignInView = sec.Key("REQUIRE_SIGNIN_VIEW").MustBool()
|
||||
Service.EnableCacheAvatar = sec.Key("ENABLE_CACHE_AVATAR").MustBool()
|
||||
Service.EnableReverseProxyAuth = sec.Key("ENABLE_REVERSE_PROXY_AUTHENTICATION").MustBool()
|
||||
Service.EnableReverseProxyAutoRegister = sec.Key("ENABLE_REVERSE_PROXY_AUTO_REGISTRATION").MustBool()
|
||||
Service.DisableRegistration = sec.Key("DISABLE_MINIMUM_KEY_SIZE_CHECK").MustBool()
|
||||
}
|
||||
|
||||
var logLevels = map[string]string{
|
||||
|
||||
Reference in new issue
Block a user