File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
src/AbpCompanyName.AbpProjectName.Core Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 3
3
public class AbpProjectNameConsts
4
4
{
5
5
public const string LocalizationSourceName = "AbpProjectName" ;
6
+
7
+ /// <summary>
8
+ /// Default pass phrase for SimpleStringCipher decrypt/encrypt operations
9
+ /// </summary>
10
+ public const string DefaultPassPhrase = "{{DEFAULT_PASS_PHRASE_HERE}}" ;
6
11
}
7
12
}
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ namespace AbpCompanyName.AbpProjectName
5
5
{
6
6
public class AbpProjectNameCoreModule : AbpModule
7
7
{
8
+ public override void PreInitialize ( )
9
+ {
10
+ Configuration . Settings . SettingEncryptionConfiguration . DefaultPassPhrase = AbpProjectNameConsts . DefaultPassPhrase ;
11
+ }
12
+
8
13
public override void Initialize ( )
9
14
{
10
15
IocManager . RegisterAssemblyByConvention ( Assembly . GetExecutingAssembly ( ) ) ;
You can’t perform that action at this time.
0 commit comments