20259: Add documentation for banner and tooltip features
[arvados.git] / apps / workbench / app / views / users / welcome.html.erb
index 92fd6dad4615c1e618663c08e237e786c3f659fd..69009a03d43288fe1bfe2f172cd2008a3e5817bf 100644 (file)
@@ -57,7 +57,7 @@ SPDX-License-Identifier: AGPL-3.0 %>
           <p>password <input type="password" class="form-control" name="login-password" value=""
                             id="login-password" style="width: 50%"
                             oninput="clear_authenticate_error()"></input></p>
-        <input type="hidden" name="return_to" value="<%= "#{Rails.configuration.Services.Workbench1.ExternalURL}" %>" id="login-return-to">
+        <input type="hidden" name="return_to" value="<%= params[:return_to] || "#{Rails.configuration.Services.Workbench1.ExternalURL}" %>" id="login-return-to">
         <span style="color: red"><p id="login-authenticate-error"></p></span>
         <button type="submit" class="btn btn-primary">Log in</button>
         </form>