File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
portal-ui/src/screens/Console Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ const AddServiceAccount = ({ classes }: IAddServiceAccountProps) => {
69
69
const navigate = useNavigate ( ) ;
70
70
71
71
const [ addSending , setAddSending ] = useState < boolean > ( false ) ;
72
- const [ accessKey , setAccessKey ] = useState < string > ( getRandomString ( 16 ) ) ;
73
- const [ secretKey , setSecretKey ] = useState < string > ( getRandomString ( 32 ) ) ;
72
+ const [ accessKey , setAccessKey ] = useState < string > ( getRandomString ( 20 ) ) ;
73
+ const [ secretKey , setSecretKey ] = useState < string > ( getRandomString ( 40 ) ) ;
74
74
const [ isRestrictedByPolicy , setIsRestrictedByPolicy ] =
75
75
useState < boolean > ( false ) ;
76
76
const [ newServiceAccount , setNewServiceAccount ] =
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ const AddServiceAccount = ({ classes }: IAddServiceAccountProps) => {
73
73
const navigate = useNavigate ( ) ;
74
74
75
75
const [ addSending , setAddSending ] = useState < boolean > ( false ) ;
76
- const [ accessKey , setAccessKey ] = useState < string > ( getRandomString ( 16 ) ) ;
77
- const [ secretKey , setSecretKey ] = useState < string > ( getRandomString ( 32 ) ) ;
76
+ const [ accessKey , setAccessKey ] = useState < string > ( getRandomString ( 20 ) ) ;
77
+ const [ secretKey , setSecretKey ] = useState < string > ( getRandomString ( 40 ) ) ;
78
78
const [ isRestrictedByPolicy , setIsRestrictedByPolicy ] =
79
79
useState < boolean > ( false ) ;
80
80
const [ newServiceAccount , setNewServiceAccount ] =
You can’t perform that action at this time.
0 commit comments