Skip to content

Instantly share code, notes, and snippets.

View Strongers's full-sized avatar

Strongers Strongers

  • Hohai University
  • China Nanjing
View GitHub Profile
@Strongers
Strongers / server.R
Created September 4, 2017 05:20 — forked from withr/server.R
Encrypt password with md5 for Shiny-app.
library(shiny)
library(datasets)
Logged = FALSE;
PASSWORD <- data.frame(Brukernavn = "withr", Passord = "25d55ad283aa400af464c76d713c07ad")
# Define server logic required to summarize and view the selected dataset
shinyServer(function(input, output) {
source("www/Login.R", local = TRUE)
observe({
if (USER$Logged == TRUE) {