mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 07:29:14 +01:00
FEATURE: add plain text password toggle to settings (#22)
* FEATURE: add plain text password toggle to settings * clean up state types, lint, and add migrate Co-authored-by: austinried <4966622+austinried@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
co-authored by
austinried
parent
d1ac2df03a
commit
0220e86883
@@ -0,0 +1,11 @@
|
||||
const migrations: Array<(state: any) => any> = [
|
||||
state => {
|
||||
for (let server of state.settings.servers) {
|
||||
server.usePlainPassword = false
|
||||
}
|
||||
|
||||
return state
|
||||
},
|
||||
]
|
||||
|
||||
export default migrations
|
||||
Reference in New Issue
Block a user