graphics_passwd.patch

Rolandas Naujikas, 11/26/2013 07:42 PM

Download (381 Bytes)

View differences:

src/vm/VirtualMachine.cc 2013-11-26 21:22:29.000000000 +0200
979 979
        return -1;
980 980
    }
981 981

  
982
    string passwd = graphics->vector_value("PASSWD");
983

  
984
    if ( passwd.empty() )
985
    {
986
        graphics->replace("PASSWD", one_util::random_password());
987
    }
988

  
982 989
    return 0;
983 990
}
984 991