mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-06 08:59:10 +08:00
SAML ID Service Fix
SAML ID Service Fix
This commit is contained in:
parent
1ee130c6f6
commit
2604a90518
@ -23,6 +23,6 @@ import java.util.UUID;
|
||||
public class IDService {
|
||||
|
||||
public String generateID() {
|
||||
return UUID.randomUUID().toString();
|
||||
return "MXK_" + UUID.randomUUID().toString();
|
||||
}
|
||||
}
|
||||
|
||||
@ -118,26 +118,26 @@ mybatis.table-column-case=lowercase
|
||||
############################################################################
|
||||
#redis server configuration #
|
||||
############################################################################
|
||||
#spring.redis.host=127.0.0.1
|
||||
#spring.redis.port=6379
|
||||
#spring.redis.password=password
|
||||
#spring.redis.timeout=10000
|
||||
#spring.redis.jedis.pool.max-wait=1000
|
||||
#spring.redis.jedis.pool.max-idle=200
|
||||
#spring.redis.lettuce.pool.max-active=-1
|
||||
#spring.redis.lettuce.pool.min-idle=0
|
||||
spring.redis.host=127.0.0.1
|
||||
spring.redis.port=6379
|
||||
spring.redis.password=password
|
||||
spring.redis.timeout=10000
|
||||
spring.redis.jedis.pool.max-wait=1000
|
||||
spring.redis.jedis.pool.max-idle=200
|
||||
spring.redis.lettuce.pool.max-active=-1
|
||||
spring.redis.lettuce.pool.min-idle=0
|
||||
|
||||
############################################################################
|
||||
#mail configuration #
|
||||
############################################################################
|
||||
#spring.mail.default-encoding=utf-8
|
||||
#spring.mail.host=smtp.163.com
|
||||
#spring.mail.port=465
|
||||
#spring.mail.username=maxkey@163.com
|
||||
#spring.mail.password=password
|
||||
#spring.mail.protocol=smtp
|
||||
#spring.mail.properties.ssl=true
|
||||
#spring.mail.properties.sender=maxkey@163.com
|
||||
spring.mail.default-encoding=utf-8
|
||||
spring.mail.host=smtp.163.com
|
||||
spring.mail.port=465
|
||||
spring.mail.username=maxkey@163.com
|
||||
spring.mail.password=password
|
||||
spring.mail.protocol=smtp
|
||||
spring.mail.properties.ssl=true
|
||||
spring.mail.properties.sender=maxkey@163.com
|
||||
spring.mail.properties.mailotp.message.subject=MaxKey One Time PassWord
|
||||
spring.mail.properties.mailotp.message.template={0} You Token is {1} , it validity in {2} minutes.
|
||||
spring.mail.properties.mailotp.message.type=html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user