Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorSecurityConfigOptions.php
Show First 20 Lines • Show All 164 Lines • ▼ Show 20 Lines | return array( | ||||
pht( | pht( | ||||
'This is hashed with other inputs to generate CSRF tokens. If '. | 'This is hashed with other inputs to generate CSRF tokens. If '. | ||||
'you want, you can change it to some other string which is '. | 'you want, you can change it to some other string which is '. | ||||
'unique to your install. This will make your install more secure '. | 'unique to your install. This will make your install more secure '. | ||||
'in a vague, mostly theoretical way. But it will take you like 3 '. | 'in a vague, mostly theoretical way. But it will take you like 3 '. | ||||
'seconds of mashing on your keyboard to set it up so you might '. | 'seconds of mashing on your keyboard to set it up so you might '. | ||||
'as well.')), | 'as well.')), | ||||
$this->newOption( | $this->newOption( | ||||
'phabricator.mail-key', | |||||
'string', | |||||
'5ce3e7e8787f6e40dfae861da315a5cdf1018f12') | |||||
->setHidden(true) | |||||
->setSummary( | |||||
pht('Hashed with other inputs to generate mail tokens.')) | |||||
->setDescription( | |||||
pht( | |||||
"This is hashed with other inputs to generate mail tokens. If ". | |||||
"you want, you can change it to some other string which is ". | |||||
"unique to your install. In particular, you will want to do ". | |||||
"this if you accidentally send a bunch of mail somewhere you ". | |||||
"shouldn't have, to invalidate all old reply-to addresses.")), | |||||
$this->newOption( | |||||
'uri.allowed-protocols', | 'uri.allowed-protocols', | ||||
'set', | 'set', | ||||
array( | array( | ||||
'http' => true, | 'http' => true, | ||||
'https' => true, | 'https' => true, | ||||
'mailto' => true, | 'mailto' => true, | ||||
)) | )) | ||||
->setSummary( | ->setSummary( | ||||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |