Commit graph

9 commits

Author SHA1 Message Date
Valentin Valchev
a18efd20ad Fixes #112 - Re-auth doesn't work if incorrect auth was provided initially.
https://github.com/billchurch/WebSSH2/issues/112

This commit send 'reauth' command to the client, when err.level === 'client-authentication'.

The client itself binds the 'reauthSession' function to that command, so it will automatically request authentication, every time the authentication fails.

The client bundle (webpack) is also rebuild with the made changes.
2018-10-11 11:18:01 +03:00
Bill Church
f125085600 update jsthints 2018-09-11 15:13:32 -04:00
Bill Church
9bbc116120 reauth feature
fixes #75 and potentially #51 thanks to both @vbeskrovny and @vvalchev
2018-07-30 09:54:36 -04:00
Bill Church
29804c7bc8
Update socket.js
changing from `logout` to `reauth`
2018-07-30 08:18:26 -04:00
Valentin Valchev
771800b02a The provided patch, will add a /logout URL, which will re-request the authentication and then redirect you back to the referrer (e.g like http://localhost:2222/ssh/host/myhost.com).
It also adds a menu entry "Switch User" that opens /logout and forces re-authentication.
2018-07-23 13:02:50 +03:00
Bill Church
29478d11f6 rebuilt /client
- Updated dev dependancies
- rebuilt /client with new version of webpack
2018-05-10 10:56:40 -04:00
billchurch
7b5224d7d1 Revert "Revert "housekeeping""
This reverts commit 67b15e1c2f.
2018-02-17 01:06:37 -05:00
billchurch
67b15e1c2f Revert "housekeeping"
This reverts commit bc19432dfa.
2018-02-17 01:05:52 -05:00
billchurch
bc19432dfa housekeeping
Move bulk of server .js file files to /server, all client related files
live in /client (including /public), webpack scripts now live in
/scripts, cleanup of paths in /client/src/js/index.js and webpack.js.
2018-02-16 23:48:00 -05:00
Renamed from socket.js (Browse further)