Skip to content

Commit

Permalink
Aegis and 2FAS tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Mar 11, 2024
1 parent 9ed0da8 commit 70dc8f8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![Downloads](https://img.shields.io/github/downloads/levminer/authme/total?label=Downloads)](https://authme.levminer.com/#downloads)
[![Support](https://img.shields.io/badge/Support-PayPal-blue)](https://paypal.me/levminer)
[![License](https://img.shields.io/github/license/levminer/authme?label=License)](https://github.com/Levminer/authme/blob/main/LICENSE.md)
[![License](https://img.shields.io/github/license/levminer/authme?label=License)](https://github.com/Levminer/authme/blob/dev/LICENSE.md)

## Features

Expand Down Expand Up @@ -59,10 +59,10 @@ Tutorial on how to migrate to Authme 4 or 5 from Authme 3:

## Contributing and development

- Contributions are always welcome! Read for development and building instructions: [Contributing](https://github.com/Levminer/authme/blob/main/.github/CONTRIBUTING.md)
- Contributions are always welcome! Read for development and building instructions: [Contributing](https://github.com/Levminer/authme/blob/dev/.github/CONTRIBUTING.md)
- Do you want to translate Authme? [Instructions](https://github.com/Levminer/authme/issues/258)

## License

- This software is licensed under: [GPL-3.0](https://github.com/Levminer/authme/blob/main/LICENSE.md)
- This software is licensed under: [GPL-3.0](https://github.com/Levminer/authme/blob/dev/LICENSE.md)
- If you are planning to use this software as a business please contact me at: <authme@levminer.com>
4 changes: 3 additions & 1 deletion interface/utils/language/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ export const localeEN = {
// tutorial
googleAuthTutorial: ["Export the 2FA codes from the Google Authenticator app: Tap on the hamburger menu in the top left corner of the screen: Transfer Accounts > Export Accounts", "Save the migration QR code(s) with a screenshot or take a picture with another phone if you are on Android. Transfer these pictures to your computer", "In Authme, go to the Import page: Sidebar > Import", "Click the Choose images button and select the picture(s) you transferred from your phone"],
totpTutorial: ["Go to the website where you want to setup 2FA", "Take a screenshot (Windows key + Shift + S key combination on Windows, Cmd + Shift + 3 on macOS) of the QR code, and save the picture", "In Authme, go to the Import page: Sidebar > Import", "Click the Choose images button and select the picture"],
authmeTutorial: ["In Authme go to the Export page and choose Export Authme file", "You can import this file in Authme on the Import page"]
authmeTutorial: ["In Authme go to the Export page and choose Export Authme file", "You can import this file in Authme on the Import page"],
aegisTutorial: ["Tap on the hamburger menu in the rop right corner of the screen: Settings > Import & Export > Export", "Select the Aegis JSON format and uncheck the Encryption checkbox and export you vault", "Transfer the file on your computer and import it in Authme"],
twoFasTutorial: ["Tap on settings on the navigation bar: 2FAS Backup > Export to file", "Check the export file without password checkbox and tap export", "Transfer the file on your computer and import it in Authme"]
},

export: {
Expand Down
16 changes: 16 additions & 0 deletions interface/windows/import/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,22 @@ export const showTutorial = (type: tutorialType) => {
tutorialTitle.innerHTML = language.import.authme
tutorialDescription.innerHTML = language.import.authmeText

for (let i = 0; i < elements.length; i++) {
list.innerHTML += `<li>${elements[i]}</li>`
}
} else if (type === "aegis") {
const elements = language.import.aegisTutorial
tutorialTitle.innerHTML = language.import.aegisAuth
tutorialDescription.innerHTML = language.import.aegisAuthText

for (let i = 0; i < elements.length; i++) {
list.innerHTML += `<li>${elements[i]}</li>`
}
} else if (type === "2fas") {
const elements = language.import.twoFasTutorial
tutorialTitle.innerHTML = language.import.twoFasAuth
tutorialDescription.innerHTML = language.import.twoFasAuthText

for (let i = 0; i < elements.length; i++) {
list.innerHTML += `<li>${elements[i]}</li>`
}
Expand Down

0 comments on commit 70dc8f8

Please sign in to comment.